package com.sx.dao;

import com.sx.domain.PromotionAd;
import com.sx.domain.PromotionSpace;

import java.util.List;

public interface PromotionSpaceMapper {
    /**
     * 查询广告位信息
     */
    public List<PromotionSpace>  findAllPromotionSpace();

    /**
     * 新增和修改广告位
     */
    public void savePromotionSpace(PromotionSpace promotionSpace);
    public void updatePromotionSpace(PromotionSpace promotionSpace);

    /**
     * 回显广告位信息
     */
    public PromotionSpace findPromotionSpaceId(int id);



}
